package com.ds.infra.rpc.example.provider;

import com.ds.infra.rpc.core.config.RpcConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication(scanBasePackages = {
        "com.ds.infra.rpc",
        // "com.ds.example.provider"
})
@Import(RpcConfig.class)
// @EnableRpcServer
public class ProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class, args);
        System.out.println("===== 商品服务启动成功 =====");
    }

}
